package com.czx.service.impl;

import com.czx.service.IndexService;

/**
 * @author topaa
 * @date 2020/9/24 12:16
 */
public class IndexServiceImpl implements IndexService {

    @Override
    public void show() {
        System.out.println("void 无参方法");
    }

    @Override
    public void show(String s, int i) {
        System.out.println("void 有参方法：" + s + "," + i);
    }

    @Override
    public String m() {
        System.out.println("String 无参方法");
        return "hello proxy";
    }

    @Override
    public int m(int s, int i) {
        System.out.println("int 有参方法：" + s + "," + i);
        return s + i;
    }
}
